/*
 * NETMAJ - network mahjongg -  Copyright Notice
 *     Copyright (C) 1994, 1995, 1996 Koji Suzuki (suz@kt.rim.or.jp)
 *
 *  You can redistribute it and/or modify this software under the terms 
 * of the GNU General Public License version 2 as published by
 * the Free Software Foundation.
 *
 *  This software is provided 'as-is', without any express or implied
 * warranty.  In no event will the author be held liable for any damages
 * arising from the use of this software.
 * See the gpl.text for more details.
 *
 *  If you would like to do something with NETMAJ that this copyright
 * prohibits (such as distributing it with a commercial product,
 * using portions of the source in some other program, etc.), please
 * contact the author (preferably via email).  Arrangements can
 * probably be worked out.
 *
 *  Koji Suzuki   : suz@kt.rim.or.jp
 */
/* $Id: ahand.h,v 1.3 1996/07/31 08:05:45 suz Exp $ */

typedef struct {
	pai_t *h;
	int rest[14];
	int rest_num;
	int part_num;
	int part[7][3];
	int part_kind[7];
}  ahand_t;

#define AH_V3_FIXED	1
#define AH_H3_FIXED	2
#define AH_V3		3
#define AH_V2		4
#define AH_H3		5
#define AH_H2a		6
#define AH_H2b		7
#define AH_H2c		8

#define MAX_RESULT	100
extern ahand_t result_ahand[MAX_RESULT];
extern int   result_cnt;
extern int   result_rest;
